deploy: Set the immutable bit on the deployment root
authorColin Walters <walters@verbum.org>
Fri, 30 May 2014 14:02:01 +0000 (10:02 -0400)
committerColin Walters <walters@verbum.org>
Tue, 3 Jun 2014 17:41:48 +0000 (13:41 -0400)
commitb4d21e9406b1bd178f9a9875ba145c48a9591311
tree66a78c33a055c6252696ca73be66332b56507656
parent93c68083ac68c87627a1b4fb43510fa064260320
deploy: Set the immutable bit on the deployment root

This prevents people from creating new directories there and expecting
them to be persisted.  The OSTree model has all local state to be in
/etc and /var.

This introduces a compile-time dependency on libe2fsprogs.

We're only doing this for the root directory at the moment.

https://bugzilla.gnome.org/show_bug.cgi?id=728006
Makefile-libostree.am
configure.ac
src/libostree/ostree-linuxfsutil.c [new file with mode: 0644]
src/libostree/ostree-linuxfsutil.h [new file with mode: 0644]
src/libostree/ostree-sysroot-cleanup.c
src/libostree/ostree-sysroot-deploy.c